replaced quality by quality_price for debug