fix TDGatewayNode related to loading directory structure from STON