fix generation of statistics diagram in marmotta loader