before roll back