fix friend code