correction of logmessage