Fixed privilege problems