fix failures in libcollections