miner bug fix

saved a little memory