fixed some typos and other minor issues