fixed bug with file listing