fix getline() replacement for long input lines