better error if field name is not available