fix on xcode 6.01