Fixed a bug in the admin page.