bug fix (when a table/userdata has no metatable)