Fix null point exception in contest page
Merge pull request #201 from mzry1992/fix-null-point-exception

Fix null point exception in contest page