Fixed Xcode warning