fix #22
Merge pull request #24 from PuZheng/flask-report-22

fix #22