Fix reload
Add clearHistory