fixing validation errors 3