fix chart history page