fixed bug in Arrays.List