修复扫描时的BUG

Signed-off-by: Gaubee <Gaubeebangeel@gmail.com>