rework participant linking
fix bug in preview mode query function
fix preview mode once more