Normalizing text fields