Fixed parsing of the collection