fixed flaw in dhcp causing #19