finish IOTGateServer MT layer