fix issue “point reference error”