and another fix for errorHandling in changeChart