clean up of chart view controller