fixed for xcode 6 beta 6