fix sql
Merge pull request #6 from orvice/dev

fix sql