do not be so strict with array lookups

don't fail if they are empty