fix problem when deleting searchable file