fixed TODO: convert ip address to a uint32