fixed multiple points error