resolves #31 - fixed traversal of channels