I have tried printing out whole array in "print 1" and "print 2" first one prints out the list and the second one does not print nothing just "null" so somehow my "list = fix(list)" makes the arraylist null? any ideas why?