revert pricing.py changes