fixed invite friends issue