fix units handling for kicad-old