fix the arrayList