fixed Objective-C methods