Fix aliasing and collection handle