improvements on the dublicate muc messages issue