One workaround attempt at fixing charts crash