fix find image/video file error