Fix error messages and error style.