code fixes for parent, solr and sp