Ip validation fixed