fix friend and chat deleted