Fixed roll back for del and put functions