fix charts and treeviewer