fixed wrong validator class name creation