fixed textField bug