minor bug on invite friends