fixed bug in graphs for competition.html