Fix votes plugin