fix bug with empty ref_object_list