fixing rewrite rules