Text populate on array of id but doesn't work