Modify InputHelper

Modify InputHelper