fixing stackoverflow
Merge pull request #5 from leggetter/channel-subscribe-fix

fixing stackoverflow