Fixed the fix for the GW problems

server.networks is a dictionary so it cna be sued as a list,
now the iteration is done amoingst the "keys()" value of the dict