bad path fix