fixes a bug so that collection names with slashes will work