fixed regression with invalidClass on validated inputs