properly format input channels.