simple fix for log directory