Fix some input methods