fix header messages

Finally, here is the fix for messages to display unread post