fixing some obvious errors from runing robotscanner.py