fix initialization of miner_warehouse