fix the repo's rollback error