fix objc function pattern