fixed setting currentBlock