fixing poly2herm example