finish query biz