fixed some css/flask integration