fix a typo and some indentation (tabs to spaces)