fix create_ip has no default value