fix error when multiples of 10