finish chart and fix a3 bug