fixed dst bug of charting