fix typos in scan.py -- thanks P Jemian!