fix not to display error message