changed validation rules and error messages for base classes