fix detection of new files