try to fix error of not showing charts