fix bad parsing of message when re-editing/viewing a