deprecated advanced_query_task