fixed an error in the log-msg-formatting