Remove some debug code