fix errors on new xcode 6 beta5