Fixing the legend