basicblock fix