fixed the app.py