fix the admin pages