fixing PointsCenter class