fix assignPt