fixing rollback