minor fixes to input control