fix bug of temp chart