price and rating validation