remove the debug code