fixed unit error for inch and mil (was inverted)