fix new query when from mdx mode