disable gateway in production