fixes a bad path