addresses invalid price guesses in app.py