Ip check fix.