fix bug of direct scanner