fa.py: fix NameError