fix Xcode 6 beta 3 syntax