fix error with debugging queries
Merge pull request #13 from flazzarotto/master

fix error with debugging queries