correction requête getHistory()