fixing user usage where userdata expected