fixes #1294 console errors being fixed when adding collection