Bugfix

Check if object is returned