fix input collection names