fixing errors in showing the prices and search implementation