remove expect condition to display error message