fixes wrong varname of userdata