Fix error message formatting.