fix for xcode6