try to fix problem with logfile