resolved null pointer dereference for ip_, fixes #11