cleaned up wan_ip plugin