fix a bug of del friend