fix admin pages