fixed bug with only one channel in visibility mode