gateway example fix