fix double display of chart