fixed scopechart bug