set ref_meg in pick_types()