fixed gym affiliation issue