fix affiliations process