Fixed bug get IP function.[v.1.0.1]