fixed network addrs, added valgrind