handle slashes between origin and path