actually fix nx_set_real_ip