fix #12
Merge pull request #14 from PuZheng/flask-report-12

fix #12