fix #37
Merge pull request #40 from PuZheng/flask-report-37

fix #37