fix empty prices error