fix a bug caused by new null constructor of QuadraturePoint