fixed the scanner to check all