Fix admin path bugs