fixed issue with num_participants=None