rewrite current page