workaround for crash with Xcode 6 beta 5.