fixed admin tool bugs