Fixed friend duplication problem