add query_type choose