removal of some old debug code