fix the way the items of the array get concatenated