set the remote address correctly in the cgi call