Bug fix in admin page