fix pi scan,get rir SN