fixed a bug when printing summary of quadratic trend