fixed the base class for admin controllers