fix sql
Merge pull request #6 from satrent/bug/fixSql

fix sql