rewrite page