fixing validation errors 6