Rewrite rollback