handle relations in show mode