Update the bug in scanner