Fixing admin class