fixing getline