fix bug in get new block
bug left in indirect