Fix labels in error messages.