fix check debug