fix access to objc's 'isa' deprecation error