fix a issue for ip address format