Fix an id in chart generation