Fixed memory leak

Fixed memory leak by making sure NSArray ownership is transfered back to ARC