Fix optimizer error in channel instantiation (wrong parameterization)