use validate-class in -validate :catch