improve the rr_scanProcess