fixed the bug on get files list