Removd some debug code