fix some query parsing bugs
bump version