revise executing query
Merge pull request #7 from yanak/fix/executing-query

revise executing query