simplify dhcp gen a little