fixed charting issue