Bug fix on AdminController