fixed '127.0.0.1' was hardcoded if fetch_ip == false