clean references