fix for PCJoinFaction and for getPcRank without explicit reference