friends api fix