fix some path stuff