Correct of input values.