fixing validation errors 7