fix equals for collection in collection