[-] Dimensions: bugfix with units

Default code doesn't make any sense and it prevent to work with units.