fixed the points error