Remove extra path stuff.