update for getRemoteAddr