mode only works for one channel
Merge branch 'dev'