I think I found the error. I used plr.userid.