fixing bug where admin subpages get re-created