Fix validation of inputs