minor changes to wifit.py