core urlpattern fix