fix zero files found bug