added remove_elem_array_type