added defaults for nonempty fields