fix possible groups inchoerence