workaround for Google charts bug