fix log directory