fixed up so that an empty result field is returned for no results