Fix the admin router function.