fixed word.py