fix auto correct unit precision