remove extra whitespace in fields