Remove version from path