rollback to previous error code