fix blockFinder for arrays
miner: bug fixes