fixed finding the length of array