Admin class fix