Xcode 6 fix