fix admin error