Unit.js bugfix by subei

Unit.js bugfix by subei