fix some path/position errors