save and delete record fixes