bug fix for app.py