createprogresschart crashing fixed