fixed the digits ending in 0