fix bug when op query_fields is None