add basic IME support