fixed some validator errors