Fix text field input