Removed debug code