Removed some old debug code