fixed multiple invite bug