fix sql
Merge pull request #8 from dead-horse/fix-list-page

fix sql