fixed premature generation of natural key on form save