fixed admin panel bugs