fixes scanner