fixed admin errors