fix the ip problem