Fixed compatibility with Ip/Exception