Ok, I see that you’re printing the class, but not the object.
If you print the return value there, you can guarantee the existence of the object, removing a possible issue!