Fix printNodeIPAddress