remove bad path