fix garbled wikihtml, use cached graphs