fix: should set opts.response_type value to a qry.response_type field.