error on duplicated groups