make it work with Xcode 6