LogFile fix