fix delete group possible errors