fix input control for IOS