fix(main) getQuery