fix for Xcode6.1