update error messages to be unique