remove trailing spaces
fix typo