prevent some bugs from empty solr