fixed some typos and minor issues