Fixed XCode 5.1 warnings