fixed bad rollback