Fixed IP address bug onQuit