Fixed a error on showing a error