fix edit text bugs