some fixes in PercolationStats