fixed repo rollback troubles