fixed UrlRewriter