fix for when multiple collections are added