fixing a small bug in findparticipants