diff --git a/gui/trunk/CLASSRead.cxx b/gui/trunk/CLASSRead.cxx
index 6a7519f39d8f0e5a79f22796ff56453230520628..9aeed531cbd3a530157f3a80a8e52cd935fecd05 100755
--- a/gui/trunk/CLASSRead.cxx
+++ b/gui/trunk/CLASSRead.cxx
@@ -378,7 +378,7 @@ void CLASSRead::PlotPower(vector<CLASSPlotElement> toplot, string opt)
 		double y;
 		fGraphPower[i]->GetPoint(fGraphPower[i]->GetN()-1, x, y);
 
-		fLegendPower[i] = new TLatex(0.7*x,1.05*y,GetLegendOutName(toplot[0]).c_str());
+		fLegendPower[i] = new TLatex(0.7*x,1.05*y,GetLegendOutName(toplot[i]).c_str());
 		fLegendPower[i]->SetTextSize(0.05);
 		fLegendPower[i]->SetTextFont(132);
 		fLegendPower[i]->SetTextColor(CurveColor(i));