fix for work with J2Objc