fixed bug in detetProperInput();