does it work without query_env?