Fixed app.py