corrected small mistakes in the example gateway.pp