fixed the arraylist loader