performance improvement to fields
improved error message