return to previous query9 api implementation
remove old query9 api impl