fix mass assignment when sending invitation