Fixed bug: channels were processed multiple times