remove some unneeded '\n'

and also fix a typo