added functionality to rollback exception