a possible fix of addAll