bug in purchase.py