FIXED: referencing of stdClass is corrected