fixed admin coding, small fixes