fixed regression in RewriteInterceptor