switch order of rollback operations