Fixes on generate_admin for fix regressions on config administration