make it work with Xcode 6 beta 7