validation rules fix