Fix error reason strings.