bugfix: fix to the network interfaces loop