Invites extension development - bug fix