fixed the logging content