fix bug #25

some of the trailing whitespace is removed in my commit. Otherwise the submit is format compliant.