textfield bug fixed