Fixed friend is empty.
Fixed critical bug.
Fixed when friend is empty.