fixed the logging