fixed the problem which ipaddr is not displayed.