fixed bug causing crash in welcome.py