fixed redundencies app.py