fixed a bug which prevented the IP from being displayed correctly 

in the curses UI