fixed shell using getline