proposed solution to #1550: fix unit() percentage

Attempted fix at #1550.