Correcting bad path