fixed arraylist containing null values"