correct pathprefix