cleanup log message a bit