removing rewrite