fix clear group messgaes bug