Take component name from array value, not index