fix treemap fails to load with a fatal error because it tries to load metric nb_visits