fix affiliation hierarchy