fix type error (TODO: manage solr src in the future)