leave group message revise code