fixed incorrect variable name in app.py