remove bad location