changing StringField to TextField