error in voting fixed