fix -add setting UI
fix -handle chart data