remove trailing whitespace
fix typo