more meaningful default message for duplicate definitions