fixes solr core handling