fix ip address display in front-end