better handling of various field types on adding new row