solve chart issue