cocoa_common: fix crash