fixed a couple of minor issues in competitions script.