set parent when switching sets