fixed get_points call