Offsite gateway URL fix