weight the votes correctly