fix some path issues