Removing some debug code