fixed not compiling with collection w/out size()