fixed bug, textfield switch to textview cause dead loop