fixed loading log file