fixed for Xcode 6.