Fixed errors in the scanners.