public ip address - bug fix