Item in viewElements is an object, not an array