getline patch