updated Text fields to strip whitespace