bug fix for template breaking w/ solr4