fix ip allcattion bug