fixed problem with admin page not showing as selected when logged in as admin