fix incorrect delete in a uncompleted Chinese input.