modify price compare method