fix a bug caused by previous blockpool scanner fix