fixed unit(a bit of a hack) the unit definitions