typo in factor.py