fixed wrongly applied roll back