fixed admin panel bug