fix contest nil error in user#contests