fixed bug that kept admin powers from working