fixed bug where choosing a channel for the weight functions screws every...

...thing up