fix logfile warnings