disable rewrite