Fix bug on download history