fix price comparison bug