adjustment to custom message for duplicates