Remove version from the path