added trimmed to text fields