fixing log directory