minor changes and typo fixes