fix the bug of search file