Revert "Fix Error if obj hasnt have this variable"

This reverts commit d41611473afad0b8d098fa6a7eb5a427f49993a6.