use correct type for empty data array