fix -save  chart data
deleted unused class