getCollection return real type