Removing error in AdminController