bug fix from moving log files