fix broken enterprise_invite