Fix in input and output values