correct logfile statements