fix hostname and ip