bug -fix for incorrect chart div id