fixed return value of Array