fix for XCode 5 warnings