fixed Xcode 5.1 build warnings