fixed fabnet_gateway.py