fixed deallocated block scanner