Make error messages to have common style