Fix VTGate remote master code