fix for Xcode 6 warning