fixed bug with smoothing and channel selection