Solve quitting shell