fixed vote error