fixed admin bug with categories