Modify the way to display error