- memory leak fixed, created histograms were not deleted