fixes bug where you can't leave and join a competition multiple times