fixed legislator templat error