fixed admin toggle bug