fix crash: textfield  still selected error