Removed debug fprintf