bug fix price_ranges.py