use flags for flu_list_to_array()