Remove extraneous path info