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

fix #37