fix for the text field