Change IP to string type