Minor bugfix to parseing of channel names

channel names were being incorrectly parsed; put in try:except blocks