minor update of checking logical condition while saving.