fixed votes bug