fixing miner stats bug