final corrections for remote_addr