fix pattern url