fixed wrong docstring and some whitespace issues of Unit