Correct the error of shell display