fixing up app.py