remove gateway from node 2 and 3 at beginning