small changes and typo fixes