fixed a crash when added input handler in a input method