fix input method