fixed errors in admin classes