Is voting not working correctly