fix return type of collection() to Enumerable