fixed error if external message was viewed