I am trying to calculate Macaulay duration of 10 year bond, 8% annual coupon, YTM 10%. Correct answer is 7.04, but I am arriving at another answer so far, by inputting the following values:

SDT 1.0120

CPN 8

RDT 1.0130

360

1/Y

YLD 10

PRI (calculate) 87.71 which is OK

Duration 6,4

What is wrong with my calculator?