updated chart wizard code and removed some console logs