patch to work with Symphony Gateway