fixed a couple of bugd
removed region scannerator