Fixing bugs about duplicated groups
Adding more verbose