prevent warnings and fatal errors for missing fields.