corrected inputfield