removed debug printf from pipe input