Fixed errors with contest spec.