fixed the bug where the friends link disappears