fixed bug that showed duplicates in the file list