Fix error message not showing.