fixed admin bugs