apple debug fix