Fix bug (iptoint before lookup)