Fixed UID/NID crash.