bug fix in messageView