fix a few admin bugs