fix issue with Xcode 6