fix for XCode6-Beta5