getline redeclaration fix