fixed error in calculation of second half points