Fix broken debug code.