setAdmin throws exception