updated the code related ipadapter more clearly