Clean debug code