use obj.title if obj.name is undefined