removing extra lines on gateway.conf