try to fix "too many files" error