Fix the scanner.