Fix setOrganization API func