fix xcode 5 warnings