fix quadratic printing. closes #35