change for taking advantage of the rewrite rules in mirror(2)