fix the mechanism of processing a key group
bug fix