removing redundancy in message notification