fixed UrlRewriting