fixed bug invite friedns