Use remote_ip instead of ip

we missed one!