tweaked gateway