input values corrected