strips whitespaces at start and ends of fields: bug #3369