Fix check input key.