fix cast from array to string : do a foreach and index each values