Fix bug in AdminController