debugging flask-template