fix bug with inviting new members