Fix if no files in dir