Fix a bug about delivering group message