finished fix the legend of figs