fixed error message for custom errors on add event