modified one of the rewrite rules