fixes scanner resource