doing rollback
doing merge after rollback