debugged rollback