fixed a compile in xcode.