modify main input control