fix hexip assigning