fix a block error.