fix a bug that stops solr from indexing