fixed bug that was in some of the participant rest api endpoints