bugfixes, mostly in messages and channels