correct input data