Fix curvote error