fixing miner fee calc