fixed for XCode6 Beta 7