add ruid in random