fixed few things like unpin and mark unread messages