Fix bugs in participants controller