trying to fix log file