adding error content to message
adding message map content