fix urlpattern