[search] fixed file type bug