removed some old debug code