Fix Xcode warning