fix initializing the scanner when resetting