modify app.py route for consistency