Fixing typos in scan