remove all that debug code to fix the test suite