fixed html
triggering static export not until after the chart has been published