fixing validation errors 12