add ancestors for getCommunities