fixed channel name bug; add legend