add tgw support