make it workable with Xcode 6 beta 7