changed text fields to text