bugfix url-rewrite