reference wrong array in htmlo