fixed app.py