revert the use of save() intead of commit()