Fix bug with one group in different configs by change key builer