handle chart exits